package com.qixin.modules.eaLoan.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 还款单
 * @Author: qixin-boot
 * @Date:   2021-07-20
 * @Version: V1.0
 */
@ApiModel(value="ea_repaymentbill对象", description="还款单")
@Data
@TableName("ea_repaymentbill")
public class EaRepaymentbill implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    private transient java.lang.String createByName;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    private transient java.lang.String updateByName;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    private transient java.lang.String sysOrgCodeName;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private java.lang.String billNo;
	/**单据日期*/
	@Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private java.util.Date billDate;
	/**单据状态*/
	@Excel(name = "单据状态", width = 15, dicCode = "BillState")
    @Dict(dicCode = "BillState")
    @ApiModelProperty(value = "单据状态")
    private java.lang.Integer state;
    private transient java.lang.String stateName;
	/**财务组织ID*/
	@Excel(name = "财务组织ID", width = 15)
    @ApiModelProperty(value = "财务组织ID")
    private java.lang.String financeDeptId;
    private transient java.lang.String financeDeptIdName;
	/**费用承担单位*/
	@Excel(name = "还款人部门", width = 15)
    @ApiModelProperty(value = "还款人部门")
    private java.lang.String deptId;
    private transient java.lang.String deptIdName;
	/**费用承担部门*/
	@Excel(name = "费用承担部门", width = 15)
    @ApiModelProperty(value = "费用承担部门")
    private java.lang.String costDept;
    /**费用承担部门名称*/
    @Excel(name = "费用承担部门名称", width = 15)
    @ApiModelProperty(value = "费用承担部门名称")
    private java.lang.String costDeptName;
	/**还款人单位*/
	@Excel(name = "还款人单位", width = 15)
    @ApiModelProperty(value = "还款人单位")
    private java.lang.String companyCodeId;
    private transient java.lang.String companyCodeIdName;
	/**费用承担单位*/
	@Excel(name = "费用承担单位", width = 15)
    @ApiModelProperty(value = "费用承担单位")
    private java.lang.String costCompCodeId;
    private transient java.lang.String costCompCodeIdName;
	/**事由*/
	@Excel(name = "事由", width = 15)
    @ApiModelProperty(value = "事由")
    private java.lang.String explainStr;
	/**项目*/
	@Excel(name = "项目", width = 15)
    @ApiModelProperty(value = "项目")
    private java.lang.String projectId;
	/**费用项目*/
	@Excel(name = "费用项目", width = 15)
    @ApiModelProperty(value = "费用项目")
    private java.lang.String indexId;
    private transient java.lang.String indexIdName;
	/**组织本币*/
	@Excel(name = "组织本币", width = 15, dicCode = "currency")
    @Dict(dicCode = "currency")
    @ApiModelProperty(value = "组织本币")
    private java.lang.Integer currencyId;
	/**还款金额*/
	@Excel(name = "还款金额", width = 15)
    @ApiModelProperty(value = "还款金额")
    private java.math.BigDecimal repaymentAmount;
	/**个人收款开户行*/
	@Excel(name = "个人收款开户行", width = 15)
    @ApiModelProperty(value = "个人收款开户行")
    private java.lang.String bankCode;
	/**供应商*/
	@Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商")
    private java.lang.String supplier;
    private transient java.lang.String supplierName;
	/**交易对象类型*/
	@Excel(name = "交易对象类型", width = 15, dicCode = "ea_trade_type")
    @Dict(dicCode = "ea_trade_type")
    @ApiModelProperty(value = "交易对象类型")
    private java.lang.Integer type;
	/**客户*/
	@Excel(name = "客户", width = 15)
    @ApiModelProperty(value = "客户")
    private java.lang.String customer;
    private transient java.lang.String customerName;
	/**收款银行开户行*/
	@Excel(name = "收款银行开户行", width = 15)
    @ApiModelProperty(value = "收款银行开户行")
    private java.lang.String receiveBankCode;
	/**支付方式*/
	@Excel(name = "支付方式", width = 15, dicCode = "payment_method")
    @Dict(dicCode = "payment_method")
    @ApiModelProperty(value = "支付方式")
    private java.lang.Integer payType;
    private transient java.lang.String payTypeName;
	/**还款人*/
	@Excel(name = "还款人", width = 15)
    @ApiModelProperty(value = "还款人")
    private java.lang.String personId;
    private transient java.lang.String personIdName;
	/**个人银行账户*/
	@Excel(name = "个人银行账户", width = 15)
    @ApiModelProperty(value = "个人银行账户")
    private java.lang.String bankHouse;
	/**个人银行账号*/
	@Excel(name = "个人银行账号", width = 15)
    @ApiModelProperty(value = "个人银行账号")
    private java.lang.String bankAccount;
	/**收款银行账户*/
	@Excel(name = "收款银行账户", width = 15)
    @ApiModelProperty(value = "收款银行账户")
    private java.lang.String receiveBankHouse;
	/**收款银行账号*/
	@Excel(name = "收款银行账号", width = 15)
    @ApiModelProperty(value = "收款银行账号")
    private java.lang.String receiveBankAccount;
	/**来源报销单据编号*/
	@Excel(name = "来源报销单据编号", width = 15)
    @ApiModelProperty(value = "来源报销单据编号")
    private java.lang.String srcbxbillCode;
	/**来源报销单据主键*/
	@Excel(name = "来源报销单据主键", width = 15)
    @ApiModelProperty(value = "来源报销单据主键")
    private java.lang.String srcbxbillPk;
	/**来源报销单据状态*/
	@Excel(name = "来源报销单据状态", width = 15)
    @ApiModelProperty(value = "来源报销单据状态")
    private java.lang.String srcbxbillStatus;
    private transient java.lang.String srcbxbillStatusName;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private java.lang.String attach;
	/**图片*/
	@Excel(name = "图片", width = 15)
    @ApiModelProperty(value = "图片")
    private java.lang.String picture;

    //审批人id
    private transient String auditManId;
    //审批人
    private transient String auditMan;
    //提交类型:保存:add,提交:send
    private transient String saveType;

    @ApiModelProperty(value = "更新时间-用于校验时效性")
    private transient String time;

    /**流程实例id*/
    @Excel(name = "流程实例id", width = 15)
    @ApiModelProperty(value = "流程实例id")
    private java.lang.String procInstId;


}
